package main

import (
	"fmt"
	"io/ioutil"
	"net/url"
	"strings"
)

func main() {
	flist, err := ioutil.ReadDir("./")
	if err != nil {
		panic(err)
	}
	for _, v := range flist {
		filename := v.Name()
		fl := strings.Split(filename, ".")
		fmt.Println(`[` + fl[0] + `](https://xmdhs.gitee.io/bbsrank/` + url.PathEscape(filename) + ")\n")
	}
}
